EMT Practice Test

1. Question Content...


Question List

Question1: which statement about test approaches is TRUE7
SELECT ONE OPTION

Question2: Given the following code:
If x > y and z = 3 statement!
elseif z = 4 statement
endif;
What is the minimum number of tests needed to achieve 100% decision coverage?

Question3: Which of the following statements is TRUE regarding tools that support component testing and the build process?

Question4: Which statement about test automation being applied to a reactive test approach, is CORRECT' SELECT ONE OPTION

Question5: When conducting a data flow analysis of following section of pseudo code:
Declare C, F, Z Decimal
Set Z = 32
Read F
SetC = (F-Z) * 5/9
Free C, F. Z
Print F
Which of the variables utilized above has a potential anomalie?

Question6: A component has been analysed during a risk-assessment and rated as highly critical. Which of the following white-box test techniques provides the highest level of coverage and could therefore be used to test this component?

Question7: In what circumstances should you use a simulator instead of an emulator when testing a mobile application?

Question8: A medical company has performed a safety criticality analysis using the IEC61508 standard. The software components to be developed have been categorized by Safety Integrity Level (SIL). Most components have been rated at SIL 1 or 2, and a few components at SIL 4.
After some discussions with the QA manager, the project has decided to adhere to the recommendations for test coverage provided by the IEC61508 standard.
Which level and type of test coverage should at least be used for the components rated at Safety Integrity Level (SIL) 2?

Question9: You are a senior Technical Test Analyst on a new government project for the Air Force. The software you are testing is used to control the hydraulics for the landing gear for a supersonic, stealth aircraft. You are responsible for organizing the white-box testing that will be performed for this project.
Which of the following would be the most appropriate technique to apply in this situation?

Question10: Consider the pseudo code provided below:

Which of the following options provides a set of test cases that achieves 100% decision coverage for this code fragment, with the minimum number of test cases?
Assume that in the options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable "a", the second number represents variable "b", and the third number represents variable "c".

Question11: The following characteristics were identified during an early product risk-assessment for a software system:
* the software system needs to manage synchronization between various processes
* microcontrollers will be used that will limit product performance
* the hardware that will be used will make use of timeslots
* the number of tasks supported in parallel by the software system is large and are often highly complex.
Based on the information provided, which of the following non-functional test types is MOST appropriate to be performed?

Question12: The following user story has been written:
As a paying hotel guest
I want to see the charges that have been added to my bill
So that I can monitor my expenditure and know In advance how much I will have to pay when I check out The notes that have been added to It mention that It must be possible for the guest to get a printout of the bill, see It In a variety of currencies and set a flag in the hotel's billing system against any Item that they wish to challenge.
The following acceptance criteria have been defined:
1.The user shall be able to choose from the most commonly-used currencies.
2.The application must be accessible on most mobile platforms as well as on the hotel room's smart TV.
3.The hotel manager must be notified whenever a bill item is flagged by a hotel guest.
4.End-to-end response time for any individual request submitted by a user must not exceed 7 seconds.
Applying the INVEST technique to this user story, including its acceptance criteria, which of the following statements is correct?
SELECT ONE OPTION

Question13: An enhancement to a Social Media application allows for the creation of new Groups. Any number of existing application members can be added to a Group. An attempt to add a non-existent member of the application to a Group will result in an error, as will an attempt to add the same member twice. Members can be removed from an existing Group. An existing Group can be deleted but only if there are no current members attached to it.
Which one of the following Keyword-driven input tables provides the BEST test coverage of this enhancement?
Table 1
KeywordGroup IdMember Id
Create.GroupGroup3
Add_MemberGroup3@Member1
Add.MemberGroup3(a)Member2
Delete_GroupGroup3
Remove.MemberGroup3@Memberl
Remove_MemberGroup3@)Member2
Delete.GroupGroup3
Result
Group created
Member added to Group
Member added to Group
Error - Group not empty
Member removed from group
Member removed from group
Group deleted
Table 2
KeywordGroup IdMember IdResult
Create.GroupGrouplGroup created
Add.MemberGrouplMember4Error - member does not exist
Add.MemberGroupl(MemberlMember added to Group
Delete.GroupGrouplError - Group not empty
Remove_Member@Member 1Member removed from group
Delete.GroupGrouplGroup deleted
Table 3
KeywordGroup IdMember IdResult
Create.GroupGroup3Group created
Add.MemberGroup3Member9Error - member does not exist
Add.MemberGroup3(MemberlMember added to Group
Add_MemberGroup 3(MemberlError - member already in group
Delete.GroupGroup3Error - Group not empty
Remove-MemberGroups(Member 1Member removed from group
Delete.GroupGroupsGroup deleted
Table 4
KeywordGroup IdMember IdResult
Create.GroupGrouplGroup created
Add.MemberGroupl@Member3Member added to Group
Add.MemberGroupl@Member3Error - member already in group
Delete.GroupGrouplError - Group not empty
Remove.MemberGroupl@Member1Member removed from group
Delete.GroupGrouplGroup deleted
SELECT ONE OPTION

Question14: You are an experienced tester on an Agile team that is producing a new application. The product backlog has been refined sufficiently to begin development for the first release. This stories in this backlog contain a mixture of functional and non-functional requirements, as well as some technical stories that will provide elements of the application's infrastructure The developers have decided to use TDD as a deveiopment approach but automation of the acceptance tests is not yet planned.
You have been asked to recommend whether or not the team should take an atdd approach as well as TDD.
what would be the BEST recommendation in these circumstances?
SELECT ONE OPTION

Question15: Consider the pseudo code provided below regarding a customer request for cash withdrawal from an ATM.
If the customer has sufficient funds in their account
OR the customer has the credit granted
THEN the ATM machine pays out the requested amount to the customer
Which of the following test cases would be the result of applying multiple condition testing, but would NOT be the result of applying modified condition/decision testing?

Question16: You are working on project where re-use of software is an objective. You are involved in the project as a Technical Test Analyst and have been given the task to develop a checklist for code reviews.
Which question from the list below should you implement as part of the code review checklist?

Question17: Given the following code:
If x > y and z = 3 statement!
elself z = 4
statement2
endif;
What is the minimum number of tests needed to achieve 100% statement coverage?

Question18: Within the world of consumer electronics, the amount of embedded software is growing rapidly. The amount of software in high-end television sets has increased by a factor of about eight over the last six years. In addition, the market of consumer electronics has been faced with a 5 -10% price erosion per year. The price of a product is, among a number of other things, determined by the microcontroller used. Therefore, the use of ROM and RAM remains under high pressure in consumer electronic products, leading to severe restrictions on code size.
You are a Technical Test Analyst involved in the review of the architecture of this project.
Which of the following issues would be MOST important to focus on during the review and when verifying the correct implementation?

Question19: Which statement correctly describes continuous testing'
SELECT ONE OPTION

Question20: You are planning an exploratory test session for the current sprint which includes the following user stories:
User Story AA-008
As a booked customer of Alpha Airways
I want to access an open flight reservation
So that I can update the booking details
User Story AA-012
As a booking clerk for Alpha Airways
I want to access a customer's flight reservation
So that i can view their reservation details
what three things should be considered when creating the session's test charter?
a)What are the user roles specified in the two user stories?
b)What level of coverage and efficiency was should be achieved by the session' c)Will the session fit within a 60 to 120 minutes time box' d)Do Will the findings from the exploratory sessions need to be documented?
e)What actions are performed by the user roles according to the acceptance criteria for these user stories' f)Should the exploratory session be automated' g)Has the Definition of Done been met for both user stories' SELECT ONE OPTION

Question21: Consider the pseudo code for the Price program:

Which of the following statements about the Price program describes a control flow anomaly to be found in the program?

Question22: Which option describes a good practice when applying test automation for a Regression-averse test approach?
SELECT ONE OPTION

Question23: You are defining the test approach for an Agile project release focused on significantly overhauling the user interface of a golf club's booking system. Additional features will allow more flexible bookings across three courses. These changes are driven by numerous customer complaints about the current system's confusing design and limited options. The release will consist of six two-week sprints.
Stakeholders have performed a risk assessment and consider the impact of system failure as high due to potential customer loss. A regression-averse strategy is recommended due to the extensive changes expected in screen design and functionality.
Which option below represents the BEST test approach for this release? Please use the following symbols consistently:
* + (highly recommended)
* (recommended)
* o (neutral/optional)
* * (not recommended)
* - (not to be used)

SELECT ONE OPTION

Question24: Which of the following is a reason for the Technical Test Analyst to take the time to prepare for a code review?

Question25: The following User story is being developed using the 8DD approach:
As a Purchasing Manager
i want to see a list of all Purchase Orders placed so far this month with their total value So that I can control the amount of money being spent Which scenario is BOTH written in correct Gherkin format AND is appropriate for this User Story9 SEI ECT ONE OPTION

Question26: Which statement correctly describes service virtualization''
SELECT ONE OPTION

Question27: At which test level would reliability testing most likely be performed?

Question28: Which of the following test categories would best characterize a test designed to confirm that the data backup tapes stored offsite by a bank can be retrieved and loaded within the business process service level agreement?

Question29: A product risk assessment has revealed the following product risks:
* lack of usability requirements
* security during on-line transactions
* perceived performance of the system and response time from the user interface
* a required availability of almost 100%
To address the 4th risk, which of the following quality characteristics for technical testing should be part of the test approach?

Question30: As a technical test analyst, you are involved in a risk analysis session using the Failure Mode and Effect Analysis technique. You are calculating risk priorities. Which of the following are the major factors in this exercise?

Question31: You are involved in testing a system in the medical domain. Testing needs to comply with the FDA requirements and is rated as being safety critical. A product risk assessment has been performed and various mitigation actions have been identified. Reliability testing is one of the test types that needs to be performed throughout the development lifecycle.
Based on the information provided, which of the following activities would need to be addressed in the test plan?

Question32: Your Agile team is developing a web-based system that will allow users to browse and buy online from a store's shopping catalogue. Continuous Integration has been implemented and technically it is working well, running several times per day, but each run is taking almost as much time as the team is prepared to allow. It is clear that after a few more iterations, as the number of tests needed grows with the product, it will be taking too much time.
Which of the four options contains a pair of solutions that will BOTH help to solve this problem?
a.Only include unit and component integration tests in the automated Cl runs.
b.Schedule low priority tests to be the first ones executed in each run, in order to provide rapid build verification.
c.Reduce the extent to which the automated tests go through the user interface, using technical interfaces instead.
d.Reduce the number of Cl cycles run each day.
e.Select a subset of automated tests for the daytime Cl runs, and run as many of the other tests as possible in an overnight cycle.
SELECT ONE OPTION

Question33: which statement about test automation is TRUE7
SELECT ONE OPTION

Question34: What is the earliest stage in the application's SDLC at which performance efficiency testing can be performed?

Question35: Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance' SELECT ONE OPTION

Question36: Consider the following pseudocode segment:
set a = 1
while a < 12
display "this is loop", a
if a > 10 then
display "loop is > 10'
set a = 5
else
display "loop is < 11*
endif
end while
display "Final value of a is", a
Which of the following issues should be detected in the code review?

Question37: Which option correctly states the sequence of tasks to be undertaken when re-factoring test cases?
SELECT ONE OPTION

Question38: In order to create a shareable testing service from server or network traffic log data, which of the following types of tool would you use?
SELECT ONE OPTION

Question39: Subject to testing is a software system (COTS) for Project Administration and Control (PACS). PACS is a multi-project system for controlling the project time, e.g., in terms of scheduling and tracking, and managing the productivity of projects, e.g., in terms of effort and deliverables.
During various interviews with stakeholders the following information was gathered:
* Using PACS is not business critical. There is no impact such as high financial losses or problems to the operational continuity of an organization. Its application is not critical since the software package does not support directly the operational, or the primary, business processes of an organization. It supports (project) management in the project planning and tracking process. Of course, it will be highly annoying for users if the system "goes down" from time to time. Although this does not have a high impact for the business process as a whole, the Mean Time Between Failures (MTBF) still needs to be at a good level to be successful in the market.
* Users of PACS typically have an academic educational level, but have no prior experience with this particular type of project management software. The system will be used by a large number of users within an organization.
* The system will be used on a regular basis, e.g., several times per day by project managers and several times per week by project employees. This means that the system will not be used very intensively, often only for some data input or an information request. Its usage is not considered to be very time-critical.
* The data is recorded on-line and real-time. The system is expected to run in multiple hardware environments in various network environments. It is also expected that changes in the operational environments will happen in the upcoming period that also need to be supported.
Based on the information provided by the stakeholder, which combination of non-functional quality characteristics should you propose to test as part of your test approach?

Question40: Consider the following specification:

If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full when you check in late.
This is shown in the control flow graph below. Note that each box (i.e., statement, decision) has been numbered.
Three tests have been run:
Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight
What is the level of decision coverage achieved by these three tests?

Question41: Which of the following elicitation techniques is BEST usedwhen questioning a large number of stakeholders specifically to obtain information for non-functional acceptance criteria?
SELECT ONE OPTION

Question42: Why should security testing include testing for any cross-site scripting vulnerabilities?

Question43: Consider the following section of pseudo code and associated test Input data:
If withdrawal-amount <= amount-on-deposit then Set authorize-transaction = true Else If withdrawal-amount <= S100 AND preferred-customer = true then Set authorize-transaction = true Else Set authorize-transaction = false Endif Endif Input data set #1 withdrawal-amount = 160 amount-on-deposit = 100 preferred-customer = true Input data set #2 withdrawal-amount = 500 amount-on-deposit = 500 preferred-customer = false Input data set #3 withdrawal-amount = 50 amount-on-deposit = 500 preferred-customer = false What would be the decision coverage achieved if each of these test input data sets were run once?

Question44: What is the purpose of an HTML checker?

Question45: The requirements specification of a product begins with this sentence:
"The xyz system will provide many new user functions. These must be easy for our operators to use and tolerant of user input errors. These new functions must also be easy to learn. Because of very high transaction rates and limited processing power, the software design must be very efficient. The system must be available as close to 24x7 as possible.
Which three ISO 25010 major quality characteristics should be tested for possible defects with this implementation?

Question46: Which of the following best describes the reason why poorly written code is usually more difficult to maintain than well written code?

Question47: Consider the code fragment provided below:

How many test cases are needed for the code fragment lines 26 - 37 to achieve 100% modified condition/decision coverage?

Question48: Which statement about test automation is TRUE7
SELECT ONE OPTION

Question49: You are testing software that requires you to enter defined order numbers and either add, delete or update the information associated with that order number, which of the following is the minimum set of columns you should see in your keyword-driven input table?

Question50: Consider the following code segments.
Segment 1:
If a > b then setc = 12
elseif c >7 set c = 5
endif
Segment 2: setc= 12 for n = 1 to c
display c
endfor
Segment 3:
If (a > b) or (c < d) then
set c = 12
else
set c = 5
endlf
Segment 4:
set y = 4
call (segments)
segments:
start
for I = 1 to y
print y
endfor
end
Which segment would receive the highest cyclomatic complexity value?

Question51: Within an embedded software project, the maintainability of the software is considered to be critical. It has been decided to use static analysis on each delivered software component.
Which of the following metrics is NOT a maintainability metric typically used with static analysis?

Question52: Which of the following statements is true regarding fault seeding and fault injection tools?

Question53: You have been assigned the task of defining the risk-based approach to testing the performance efficiency of a new application. Which of the following is an ISTQB defined technique to use for Identifying the risks?

Question54: Which of the following statements BEST describes how tools support model-based testing?

Question55: Which of the following statements best captures the difference between data-driven and keyword-driven test automation?

Question56: Which of the following is a generic risk factor that should be considered by a Technical Test Analyst during a product risk analysis?

Question57: Why might static analysis be used on an Agile project'
SELECT ONE OPTION

Question58: Which of the following is a common technical issue that causes automation projects to fail to meet the planned return on investment?

Question59: Which of the following is a valid reason for including security testing in a test approach?

Question60: You are working for a company that has a product in the field that has reached its capacity. The system cannot handle any more users without a significant degradation in performance and a significant spike in resource requirements. As a result, your new product has strict requirements for performance efficiency and a specific growth requirement that is estimated for the next three years.
What type of testing should you conduct to make sure the future requirements will be met?